package com.inspire.tank;

import java.awt.*;
import java.io.Serializable;

/**
 * @author inspire
 * @description 所有游戏物体的父类
 * @date 2022/6/15 20:29
 */
public abstract class GameObject implements Serializable {
    public int x,y;

    public abstract void paint(Graphics g);

    public abstract int getWidth();

    public abstract int getHeight();



}
